			<table class="list">
			<tr>
				<th >&nbsp;</th>
				<?php foreach($periods as $key => $period){ ?>
				<th>
					<?php echo $period['display'].' ('.Configure::read('site.currency').')'; ?>
				</th>
				<?php } ?>
			</tr>
			<?php 
			foreach($models as $unique_model){ ?>
				<?php foreach($unique_model as $model => $fields){
					$aliasName = isset($fields['alias']) ? $fields['alias'] : $model;
				?>
						<tr>
							<td>
								<?php echo $fields['display']; ?>
							</td>

							<?php foreach($periods as $key => $period){ ?>
									<td>
										<span class="<?php echo (!empty($fields['class']))? $fields['class'] : ''; ?>">
											<?php											
												if(empty($fields['type'])) {
													$fields['type'] = 'cCurrency';
												}

													echo $this->Html->{$fields['type']}(${$aliasName.$key});
											?>
										</span>
									</td>
							<?php } ?>
							</tr>

				 <?php } ?>
			<?php } ?>

				
			</table>       
